package com.itheima.d1_junit;

import org.junit.After;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;



public class StringUtilTest {
    @BeforeClass
    public static void beforeClass(){
        System.out.println("beforeAll");
    }

    @Before
  public void before(){
        System.out.println("before");
    }
    @After
    public void after(){
        System.out.println("after");
    }

    @Test
    public void printNumber() {
        StringUtil.printNumber(null);
    }

    @Test(timeout = 3600)
    public void getMaxIndex() {
        System.out.println(StringUtil.getMaxIndex("哈哈哈"));
    }
}